[PATCH] lua: remove luajit pushlstring workaround
authorVictor Julien <vjulien@oisf.net>
Fri, 31 Oct 2025 08:38:55 +0000 (09:38 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Wed, 10 Dec 2025 19:12:20 +0000 (20:12 +0100)
commitde54fc4aa83aa59182286acb6292b889d11d2c52
treed3cd364d12d7c57119e342b4f63473421660f439
parent5f496edd768d4c196f4b31b263000181a0fe68b5
[PATCH] lua: remove luajit pushlstring workaround

81ee6f5aadeb ("lua: push correct length back through ScFlowvarGet, work around valgrind warning")
added a workaround for valgrind warnings in pushing a string buffer
into the lua state. This is no longer needed as tested with both
address sanitizer and valgrind.

(cherry picked from commit 52fd61dffdfa50c9a2d4ec24865a54da0b8f0a2a)

Origin: upstream, https://github.com/OISF/suricata/commit/a7ff4c9ba53009680c7cd128b16c28d0aeda9886.patch
Bug: https://redmine.openinfosecfoundation.org/issues/8065
Subject: Upstream fix for CVE-2025-64344

Gbp-Pq: Name CVE-2025-64344.patch
src/util-lua.c